public class Test {
    public static void main(String[] args) {
        SingleLinkedList s1=new SingleLinkedList();
        s1.addFirst(1);
        s1.addFirst(2);
        s1.addFirst(3);
        s1.addLast(2);
        s1.addIndex(2,9);
        System.out.println(s1.contains(10));
        s1.remove(3);
        s1.removeAllKey(2);
        s1.display();
    }
}
